package com.zhengaz.common.security.annotation;

import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 * 自定义feign注解，添加包扫描
 *
 * @author zhengzg
 * @create 2023-09-07 17:46
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients
public @interface EnableZhengAzFeignClients {
    String[] value() default {};

    String[] basePackages() default { "com.zhengaz" };

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    Class<?>[] clients() default {};
}
